.pagination {
    display: flex;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    justify-content: center;
}

.pagination>li {
    display: inline
}

.pagination a,
.pagination span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.428571429;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd
}

.pagination a,
.pagination span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px
}

.pagination a,
.pagination span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px
}

.pagination a:hover,
.pagination span:hover,
.pagination a:focus,
.pagination span:focus {
    background-color: #eee
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    z-index: 2;
    cursor: default;
    background-color: #eeeeee;
    border-color: #eeeeee
}

.pagination>.disabled>span,
.pagination>.disabled>a,
.pagination>.disabled>a:hover,
.pagination>.disabled>a:focus {
    color: #999;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd
}

.pagination-lg a,
.pagination-lg span {
    padding: 10px 16px;
    font-size: 18px
}

.pagination-lg a,
.pagination-lg span {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px
}

.pagination-lg a,
.pagination-lg span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px
}

.pagination-sm a,
.pagination-sm span {
    padding: 5px 10px;
    font-size: 12px
}

.pagination-sm a,
.pagination-sm span {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px
}

.pagination-sm a,
.pagination-sm span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px
}

.pager {
    padding-left: 0;
    margin: 20px 0;
    text-align: center;
    list-style: none
}

.pagination a {
    color: #303030;
}